package com.example.api.service;

import com.example.api.entity.UserEntity;
import com.example.base.ResponseBase;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create with Intellij idea
 * User:鲁智明
 * Date:2018/11/17
 * Time:17:39
 * 会员服务接口
 */

public interface MemberService {

    /**
     * 实体类存放在接口项目里面
     * 业务代码放在实现类里面
     */

    @RequestMapping("/getMember")
    public UserEntity getMember(@RequestParam("name") String name);

    @RequestMapping("/getUserInfo")
    public ResponseBase getUserInfo();
}
